@import './01.scss';



//侧边栏样式
#aside {
    position: fixed;
    right: 20px;
    top: 300px;
    width: 40px;
    height: fit-content;
    background-color: white;
    z-index: 99999;
    border: 1px solid rgb(151, 151, 151);

    .cart:hover {
        background-color: red;
    }

    .mask {
        position: absolute;
        width: 40px;
        height: 40px;
        background-color: red;
        z-index: 999999;
        left: 0;
        top: 0;
        display: none;
        font-size: 12px;
        color: white;
        text-align: center;
        line-height: 18px;
    }

    div:nth-child(1) {
        position: relative;
        height: 40px;
        background-color: rgb(233, 233, 233);
        width: 100%;
        font-size: 25px;
        text-align: center;
        line-height: 40px;
        color: rgb(134, 134, 134);
        border-bottom: 1px solid white;
    }

    div:nth-child(2) {
        position: relative;
        height: 40px;
        background-color: rgb(238, 238, 238);
        width: 100%;
        font-size: 25px;
        text-align: center;
        line-height: 40px;
        color: aliceblue;

    }

    div:nth-child(4) {
        position: relative;
        height: 40px;
        background-color: rgb(238, 238, 238);
        width: 100%;
        font-size: 20px;
        text-align: center;
        line-height: 40px;
        color: aliceblue;
        border-bottom: 1px solid white;

    }

    div:nth-child(5) {
        position: relative;
        height: 40px;
        background-color: rgb(238, 238, 238);
        width: 100%;
        font-size: 25px;
        text-align: center;
        line-height: 40px;
        color: rgb(134, 134, 134);

    }

    div:nth-child(3) {
        height: fit-content;
        background-color: rgb(255, 255, 255);
        width: 100%;
        font-size: 20px;
        display: flex;
        align-items: center;
        flex-direction: column;

        p {
            width: 10px;
            font-size: 16px;
            text-align: center;
            color: #333333;
            position: relative;
            left: -3px;

            span {
                display: block;
                width: 20px;
                height: 20px;
                border-radius: 50%;
                background-color: rgb(209, 41, 41);
                text-align: center;
                line-height: 20px;
                color: white;
            }
        }


        color: aliceblue;

    }
}

#p {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 150px;
    font-size: 16px;
    color: rgb(131, 131, 131);

    span {
        color: rgb(48, 48, 48);
    }
}

#main {
    width: 1280px;
    margin: 0 auto 10px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    padding: 0 40px;
    overflow: hidden;

    .title {
        font-size: 16px;
        color: #666;

        p {
            display: flex;
            width: 400px;
            justify-content: space-between;
            height: 40px;
            line-height: 50px;

            .active {
                font-weight: 600;
                color: #333;
            }
        }
    }
}

#main-list {
    width: 1280px;
    margin: 0 auto 30px;
    border-radius: 10px;
    min-height: 500px;
    background-color: rgb(255, 255, 255);
    padding: 40px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    a {
        text-decoration: none;
        color: #333;
    }
}

#main-list>a>section {
    border: 1px solid rgb(209, 209, 209);
    height: fit-content;
    margin-bottom: 20px;
    width: 280px;
    height: 356px;
    position: relative;
    text-align: center;

    div {
        margin-bottom: 20px;
    }

    img {
        display: block;

    }

}